/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.client.gui.Gui;
/*    */ import net.minecraft.client.renderer.GlStateManager;
/*    */ 
/*    */ public class aw extends Gui {
/*    */   public static final int t = 14;
/*    */   public static final int d = 14;
/* 10 */   private Minecraft z = Minecraft.func_71410_x();
/*    */   private byte i;
/*    */   private int w;
/*    */   private int q;
/*    */   private boolean g;
/*    */   
/*    */   public aw(byte b, int i, int j) {
/* 17 */     this.i = b;
/* 18 */     this.w = i;
/* 19 */     this.q = j;
/*    */   }
/*    */   
/*    */   public void draw(int i, int j) {
/* 23 */     this.z.field_71446_o.func_110577_a(uw.m);
/* 24 */     if (inBounds(i, j)) {
/* 25 */       Gui.func_73734_a(this.w, this.q, this.w + 14, this.q + 14, -2130706433);
/*    */     }
/* 27 */     if (this.g)
/* 28 */     { GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F); }
/* 29 */     else { GlStateManager.func_179131_c(0.5F, 0.5F, 0.5F, 1.0F); }
/*    */     
/* 31 */     func_73729_b(this.w, this.q, this.i * 14, 27, 14, 14);
/*    */   }
/*    */   
/*    */   public void setEnabled(boolean bool) {
/* 35 */     this.g = bool;
/*    */   }
/*    */   
/*    */   public boolean inBounds(int i, int j) {
/* 39 */     return (this.g && i >= this.w && j >= this.q && i < this.w + 14 && j < this.q + 14);
/*    */   }
/*    */   
/*    */   public byte getId() {
/* 43 */     return this.i;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\aw.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */